//
//  AboutViewController.swift
//  BoostTestIOS
//
//  Created by 张海南 on 2023/4/17.
//

import UIKit

class AboutViewController: UIViewController {
    
    /// 内容
    var content: String? {
        didSet {
            contentLabel.text = content
        }
    }
    
    /// 内容Label
    private lazy var contentLabel: UILabel = {
        let view = UILabel()
        view.backgroundColor = .green
        view.textAlignment = .center
        return view
    }()

    override func viewDidLoad() {
        super.viewDidLoad()
        title = "原生页面 - 关于"
        view.backgroundColor = .white
        view.addSubview(contentLabel)
        
        contentLabel.snp.makeConstraints { make in
            make.height.equalTo(40)
            make.top.equalToSuperview().offset(40)
            make.leading.trailing.equalToSuperview().inset(15)
        }
    }

    deinit {
        print("deinit - AboutViewController")
    }
}
